
 
package gestions.des.notes;
import java.sql.*;
public class gn {
    public static void main(String[] args){
        String url= "gestions:mysql://localhost:3306/notes";
        String user= "student";
        String password = "student";
    try{
        // la connexion  à la base de donnée 
    Connection myCom = gnManager.getConnection("gestions:mysql://localhost:3306/notes","student","student" );
    // create a statement 
    Statement myStm = myConn = myConn.createStatement();
}
    catch (Exception exc){
    exc.printStackTrace();
}
}
}
